package cn.jishiyu11.xeqb.activity.personalCenterActivitys.settingpage

import android.os.Bundle
import android.view.View
import android.widget.TextView

import cn.jishiyu11.xeqb.R
import cn.jishiyu11.xeqb.base.BaseActivity
import com.umeng.analytics.MobclickAgent
import kotlinx.android.synthetic.main.tab_activity_fra.*

/**
 * Created by jsy_zj on 2017/11/27.
 * 关注我们
 */

class AttentionActivity : BaseActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.about_as_layout)
        findViewById()
        initView()

    }

    override fun findViewById() {

    }

    override fun initView() {

        title_image.visibility = View.VISIBLE
        title_image.setOnClickListener { finish() }
        (title_view as TextView).text = getString(R.string.name_loan_personal_help_center_aboutas)

        val about_as_imgview = findViewById<TextView>(R.id.about_as_imgview)

        val wm = this.windowManager
        val width = wm.defaultDisplay.width
        about_as_imgview.height = (width * 5.3).toInt()
    }

    override fun onResume() {
        super.onResume()
        MobclickAgent.onResume(this)
    }

    override fun onPause() {
        super.onPause()
        MobclickAgent.onPause(this)
    }


}
